using UnityEngine;
using System.Collections;

public class cam : MonoBehaviour {
	
	public GameObject target;

	// Use this for initialization
	void Start () {
	
	}
	
	// Update is called once per frame
	void Update () {
		
		transform.position -= new Vector3(transform.position.x-target.transform.position.x,transform.position.y-target.transform.position.y,0f)/30f;
	
	}
}
